package com.cli.springboot2study.model;

/**
 * @author mir.xiong
 * @version 1.0
 * @description
 * @see
 * @since Created by work on 2022/1/16 1:04 下午
 */
public class PersonInstance extends Person {
    private int age;

    public void output2() {
        System.out.println("PersonInstance:[name = " + name + ", high = " + high + ", age = " + age + "]");
    }

    public PersonInstance(int high, String name, int age) {
        super(high, name);
        this.age = age;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
